package cn.HK.po;

import java.util.Date;
import java.util.List;

public class Order {
    //订单id
    private String oId;
    //客户id
    private Integer uId;
    //员工id
    private Integer eId;
    //订单状态
    private Integer oState;
    //订单起始时间
    private Date oStart;
    //订单结束时间
    private Date oEnd;
    //订单评分
    private Integer oScore;
    //用户评论
    private String oMsg;

    public String getoId() {
        return oId;
    }

    public void setoId(String oId) {
        this.oId = oId;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public Integer geteId() {
        return eId;
    }

    public void seteId(Integer eId) {
        this.eId = eId;
    }

    public Integer getoState() {
        return oState;
    }

    public void setoState(Integer oState) {
        this.oState = oState;
    }

    public Date getoStart() {
        return oStart;
    }

    public void setoStart(Date oStart) {
        this.oStart = oStart;
    }

    public Date getoEnd() {
        return oEnd;
    }

    public void setoEnd(Date oEnd) {
        this.oEnd = oEnd;
    }

    public Integer getoScore() {
        return oScore;
    }

    public void setoScore(Integer oScore) {
        this.oScore = oScore;
    }

    public String getoMsg() {
        return oMsg;
    }

    public void setoMsg(String oMsg) {
        this.oMsg = oMsg;
    }
/*
    CREATE TABLE `h_order` (
            `o_id` varchar(100) NOT NULL COMMENT '订单id 主键',
            `u_id` int(11) NOT NULL COMMENT '客户id 外键',
            `e_id` int(11) NOT NULL COMMENT '员工id 外键',
            `o_state` int(11) NOT NULL COMMENT '订单状态 （预定/未支付 0，已支付未履约 1，已支付合约履行中 2，履约结束 3''',
            `o_start` date NOT NULL COMMENT '订单起始时间',
            `o_end` date NOT NULL COMMENT '订单结束时间',
            `o_score` int(11) DEFAULT NULL COMMENT '订单评分',
            `o_msg` varchar(500) DEFAULT NULL COMMENT '用户评论',
    PRIMARY KEY (`o_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
*/
}
